home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / tls / tls077.dss / tmp / init.tapi / init (.txt)
Microsoft Windows Help File Content  |  1995-03-16  |  997b  |  26 lines

  1. #    @(#)70  1.1  init.tapi, scocmdadmin, sco_2.3 8/24/93 18:18:30, SecureWare, Inc.
  2. #    @(#)init.tapi    3.1.1.3 15:23:33 6/3/93 SecureWare, Inc.
  3. #       Copyright (C) The Santa Cruz Operation, 1988.
  4. #       This Module contains Proprietary Information of
  5. #       The Santa Cruz Operation, and SecureWare Inc.
  6. #       and should be treated as Confidential.
  7. PATH=/bin:/usr/bin:/etc:/etc/conf/bin
  8. plist=/etc/perms/secdev            # permlist of this product
  9. set="TAPI Extensions"
  10. : ${OK=0} ${FAIL=1}
  11. # Remove temp files and exit with the status passed as argument
  12. cleanup() {
  13.     rm -rf /tmp/tapi
  14.     exit $1
  15. # main()
  16. echo "Updating File Control Database ..."
  17. cp /tmp/tapi.fcdb /etc/auth/system/files.fcdb/20.packages/tapi.fcdb
  18. echo "... Merging new File Control Database entries"
  19. /tcb/bin/mkfcdb
  20. echo "... File Control Database update complete"
  21. echo "Resetting file system security attributes ..."
  22. /tcb/bin/setfiles >/dev/null 2>&1
  23. echo "
  24. ${set:-Product} has now been installed.\n"
  25. cleanup 0
  26.